keep in custody until trial